package com.bige.mall.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bige.common.annotation.Excel;
import com.bige.common.core.domain.BaseEntity;

/**
 * 商品详情对象 mall_product_details
 * 
 * @author bige
 * @date 2022-02-13
 */
@ApiModel(value = "MallProductDetails", description = "商品详情实体")
public class MallProductDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品Id */
    @ApiModelProperty("商品Id")
    private Long productId;

    /** 商品详情 */
    @ApiModelProperty("商品详情")
    @Excel(name = "商品详情")
    private String productDetails;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductDetails(String productDetails) 
    {
        this.productDetails = productDetails;
    }

    public String getProductDetails() 
    {
        return productDetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productDetails", getProductDetails())
            .toString();
    }
}
